package com.code.zg.news.presenters.contracts;

import com.code.zg.news.base.BasePresenter;
import com.code.zg.news.base.BaseView;
import com.tbruyelle.rxpermissions.RxPermissions;

/**
 * Created by zhanggang on 2017/2/28.
 */

public class MainContract {
    public interface View extends BaseView{
        void showUpdateDialog(String versionContent);

        void startDownloadService();
    }
    public interface Presenter extends BasePresenter<View>{
        void checkVersion(String currentVersion);

        void checkPermissions(RxPermissions rxPermissions);
    }
}
